﻿namespace WechatMp.Web
{
    /// <summary>
    /// Token返回结果对象
    /// </summary>
    public class TokenResult
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public TokenResult()
        {
        }
        /// <summary>
        /// 获取到的凭证值
        /// </summary>
        public string AccessToken { get; set; } = string.Empty;
        /// <summary>
        /// 凭证有效时间，单位：分钟
        /// </summary>
        public int ExpiresIn { get; set; }
    }
}
